package com.tianbao54.springboot.jpa;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableJpaRepositories(basePackages = "com.tianbao54.springboot.jpa")
@EnableTransactionManagement
public class JPAStarter {

    public static void main(String[] args) {

        SpringApplication.run(JPAStarter.class, args);
    }
}
